<?
$pageName = "teacher";
include ROOT . '/view/common/teacher/header.php';
?>
<?
/**
 * @var	Teacher $teacher
 * @var College $college
 */
?>
	<div class="container">
		<div class="page-header">
			<br /><br />
			<h2>
				<label>欢迎<?=$teacher->name?>老师登录！</label>
			</h2>
		</div>
		<div class="row" style="margin-bottom:30px;">
			<div class="col-xs-6">
				<table class="table table-striped">
					<thead>
					<tr>
						<td>工号：</td><td><?=$teacher->teacherNo?></td>
						<td>学院：</td><td><?=$teacher->collegeId ? $teacher->college()->name:'暂无'?></td>
					</tr>
					<tr>
						<td>性别：</td><td><?if($teacher->sex==1)echo '男';elseif($teacher->sex==2)echo '女'?></td>
						<td>聘用时间：</td><td><?=$teacher->hireTime?></td>
					</tr>
					</thead>
				</table>
			</div>

		</div>
		<!-- .row -->
		<center><div class="subpages row"><ul class="pagination pagination-sm"></ul></div></center>
	</div>
<? include ROOT . '/view/common/footer.php'; ?>